package com.qidian.tcba.admin.model.dto.parkLotRecord;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Timestamp;

/**
 * @author:fyl
 * @date 2021/7/7 8:55
 * @Modified By:
 * @Modified Date:
 * @Description:
 */
public class ParkRecordListDTO {
    private int id;
    private String name;
    private int type;
    private int stage;
    private int status;
    private String sno;
    private String districtName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp submitTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp finishedTime;

    public ParkRecordListDTO(int id, String name, int processType, int stage, int status, String sno, String districtName, Timestamp submitTime, Timestamp finishedTime) {
        this.id = id;
        this.name = name;
        this.type = processType;
        this.stage = stage;
        this.status = status;
        this.sno = sno;
        this.districtName = districtName;
        this.submitTime = submitTime;
        this.finishedTime = finishedTime;
    }

    public ParkRecordListDTO() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStage() {
        return stage;
    }

    public void setStage(int stage) {
        this.stage = stage;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public Timestamp getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(Timestamp submitTime) {
        this.submitTime = submitTime;
    }

    public Timestamp getFinishedTime() {
        return finishedTime;
    }

    public void setFinishedTime(Timestamp finishedTime) {
        this.finishedTime = finishedTime;
    }
}
